package com.sinochem.yunlian.ship.zuul.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.sinochem.yunlian.ship.api.vo.uc.UcUserInfo;
import com.sinochem.yunlian.ship.api.vo.user.UcUserResourceInfo;

@FeignClient(value = "ship-ucenter")
@RequestMapping("api")
public interface IUserService { 

	@RequestMapping(value = "/ucUser/getCurUserResourceList/{userId}", method = RequestMethod.GET)
	public UcUserResourceInfo getCurUserResourceList(@PathVariable("userId") String userId);
	
	@RequestMapping(value = "/ucUser/insert", method = RequestMethod.POST)
	public  void insertUcUser(UcUserInfo ucUserInfo);

}
